Method: Mgmg::TPolynomial#<=
- Defined in:
- lib/mgmg/poly.rb
#<=(other) ⇒ Object
228 229 230 231 232 233 234 235 236 237 238 239 240 241 |
# File 'lib/mgmg/poly.rb', line 228 def <=(other) foo = self-other (foo.mat.row_size-1).downto(0) do |s| (foo.mat.col_size-1).downto(0) do |c| = foo.mat.body[s][c] if < 0 return true elsif 0 < return false end end end true end |